package cn.zhj.mapper;

import cn.zhj.domain.Teacher;
import cn.zhj.query.TeacherQuery;

import java.util.List;


public interface TeacherMapper {

    Teacher findOne(int id);

    List<Teacher> findAll();

    void insert(Teacher teacher);

    void delete(int id);

    void update(Teacher teacher);

    List<Teacher> getData(TeacherQuery teacherQuery);
    Integer getCount(TeacherQuery teacherQuery);

    void patchDeL(Integer[] ids);

}
